Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KadasMapCanvasItemManager singleton with Q_GLOBAL_STATIC #218

Merged
merged 8 commits into from
Jan 20, 2025

Conversation

domi4484
Copy link
Contributor

No description provided.

@domi4484
Copy link
Contributor Author

@m-kuhn does this looks correct to you?
When I print the address I see they are different:

Instance: KadasMapCanvasItemManager(0xa7f7b0)
Instance: KadasMapCanvasItemManager(0x7f2538cfb3f0)

@m-kuhn
Copy link
Collaborator

m-kuhn commented Jan 20, 2025

@domi4484 suspicion: I don't see any kadas_xxx.dll shared library, assuming it's all built statically (which it is by default) and then the static library is linked into the main kadas.exe and the individual python modules.

@m-kuhn
Copy link
Collaborator

m-kuhn commented Jan 20, 2025

@domi4484 can you check with the latest version if it's fixed?

@domi4484
Copy link
Contributor Author

@domi4484 can you check with the latest version if it's fixed?

Yes its fixed thanks!

@domi4484 domi4484 marked this pull request as ready for review January 20, 2025 14:29
@m-kuhn
Copy link
Collaborator

m-kuhn commented Jan 20, 2025

@domi4484 can you check with the latest version if it's fixed?

Yes its fixed thanks!

Good, I think this could also fix other problems and should reduce build time and program size

@domi4484 domi4484 merged commit f9176ad into main Jan 20, 2025
3 checks passed
@domi4484 domi4484 deleted the mapCanvasItemQGlobalStatic branch January 20, 2025 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants